package net.chathu.airgw.packets.gw.serverpackets 
{
	import net.chathu.airgw.Config;
	/**
	 * ...
	 * @author ...
	 */
	public class EndOfNamesPacket implements ISendableIRCPacket 
	{
		private static const _head:String = " 366 ";

		private var _nick:String;
		private var _channel:String;
		
		public function EndOfNamesPacket(nick:String, channel:String) 
		{
			this._nick = nick;
			this._channel = channel;
		}
		
		public function getMessage():String
		{
			
			return ":" + Config.IRC_HOST + _head + _nick + " " + _channel + " :End of NAMES list.\n";
		}
		
	}

}